package com.polaris;

import java.util.ArrayList;
import java.util.List;

public class GenericTest {

    public static void main(String[] args) {

        List<Product> douYinProducts = new ArrayList<>();
        douYinProducts.add(new Product("1","抖音商品"));
        douYinProducts.add(new Product("2","抖音商品"));
        douYinProducts.add(new Product("3","抖音商品"));
        douYinProducts.add(new Product("4","抖音商品"));

        CategoryParamSet<Category> douYinCategoryParamSet = new DouYinCategoryParamSet();

        // 抖音类目赋值
        //douYinCategoryParamSet.setCategoryField(douYinProducts);
        System.out.println(douYinProducts);

        System.out.println("我是分割线");


        List<ChannelProduct> kuaiShouProducts = new ArrayList<>();
        kuaiShouProducts.add(new ChannelProduct("1","快手商品"));
        kuaiShouProducts.add(new ChannelProduct("2","快手商品"));
        kuaiShouProducts.add(new ChannelProduct("3","快手商品"));
        kuaiShouProducts.add(new ChannelProduct("4","快手商品"));

        CategoryParamSet<ChannelCategory> kuaiShouCategoryParamSet = new KuaiShouCategoryParamSet();

        // 快手类目赋值
        //kuaiShouCategoryParamSet.setCategoryField(kuaiShouProducts);
        System.out.println(kuaiShouProducts);
    }
}
